/*
 * ConexaoTCP.h
 *
 *  Created on: Jan 24, 2013
 *      Author: murilo
 */

#ifndef CONEXAOTCP_H_
#define CONEXAOTCP_H_

#include "../include/ConexaoAbstrata.h"
#include "SocketTCP.h"

class ConexaoTCP: public ConexaoAbstrata {
	public:
		ConexaoTCP(std::string host,std::string port);
		virtual ~ConexaoTCP();
		std::string receberMensagem();
		std::string receberMensagem(std::size_t size);
		void enviarMensagem(std::string mensagem);
		bool isConectado();
	private:
		Socket_TCP socket;
};

#endif /* CONEXAOTCP_H_ */
